#ifndef __FLASH_H
#define __FLASH_H

#include "BSP_Flash.h"
//extern uint32_t flashDate[];
#include "esp8266.h"

#ifdef TCP_SERVER
#define ESP_SECTOR    ADDR_FLASH_SECTOR_10
#endif // TCP_SERVER

#ifdef TCP_CLIENT
#define ESP_SECTOR    ADDR_FLASH_SECTOR_9
#endif // TCP_CLIENT


void flashInit(void);
#endif
